﻿/*----------------------------------------------------------------
  //Copyright (C) 2012 赵国伟
  //文件功能描述：会员管理
  //创建人：赵国伟
  //生成时间：2012/03/17 16:15:00
//----------------------------------------------------------------*/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

using Shopping.Common;
using Shopping.Model;
using Shopping.BLL;

public partial class Manage_UsersManage : BaseManagePage
{
    protected QueryUsersAsPage q;
    protected List<Users> listOfUsers;

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!Page.IsPostBack)
        {
            q = new QueryUsersAsPage();
            q.KeyWords = Utility.G("KeyWords");
            q.StartDate = Utility.G("StartDate");
            q.EndDate = Utility.G("EndDate");
            q.Status = Utility.G("Status");
            q.Sorts = Utility.G<int>("Sorts");
            q.CurPage = Utility.G<int>("CurPage");

            if (q.CurPage <= 0) q.CurPage = 1;

            UsersManage bllUsers = new UsersManage();
            listOfUsers = bllUsers.QueryListAsPage(q);

        }
    }

}